package com.xh.bgc.dao;

import java.util.List;
import java.util.Map;

import com.xh.bgc.pojo.BugInfo;

public interface BugInfoMapper {

	// 添加
	public int addBugInfo(BugInfo bug);

	// 模糊查询
	public List<Map<String, Object>> searchSomething(Map<String, Object> map);

	// 条件查询
	public List<Map<String, Object>> findByName(Map<String, Object> map);

	// 按钮查询
	public List<Map<String, Object>> buttonSearch(Map<String, Object> map);

	// 信息总条数
	public int findAllPage(Map<String, Object> map);

	// 精确查询
	public Map<String, Object> searchById(int bugid);

	// 添加userSearchBug
	public int insertBugInfo(Map<String, Object> map);

	public int updateNumber(Map<String, Object> map);
}